//
//  Address.h
//  CarTown
//
//  Created by xionghao on 15/9/2.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>


@interface Address : NSManagedObject

@property (nonatomic, retain) NSString * area_name;
@property (nonatomic, retain) NSString * area_id;
@property (nonatomic, retain) NSString * parent_id;

+(void)addressWithDict:(NSArray *)add;
+(NSArray *)getDisct:(NSString *)pid;
+(NSArray *)getCity:(NSString *)pid;
+(NSArray *)getPro;
+(instancetype)getAdressbyID:(NSString *)area_id;
@end
